#pragma once

#include <stdio.h>

class POVRay_IO
{
public:
	static POVRay_IO* get_instance();

	void init(char* str);
	void record(void * buf,int num);
	void close();

private:
	FILE *output;

	POVRay_IO(void);
	~POVRay_IO(void);

	static POVRay_IO* _instance;
};
